-- GENERATED SPELL FOR [Bloodletter] --


function spell0_10954(pUnit, Event) --@Rupture,n/a--
pUnit:FullCastSpellOnTarget(15583,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10954', 10000, 1)
end

function spell1_10954(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(15667,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10954', 616, 1)
end

function Sorts_10954(pUnit, Event)
local choix_sorts_10954 = math.random(0, 1)
if choix_sorts_10954 == 0 then
pUnit:RegisterEvent('spell0_10954', 1, 1)
end
if choix_sorts_10954 == 1 then
pUnit:RegisterEvent('spell1_10954', 1, 1)
end
end

function mob10954_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10954', math.random(1500, 3000), 1)
end

function mob10954_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10954_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10954_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10954, 1, 'mob10954_Action')
RegisterUnitEvent(10954, 2, 'mob10954_Leave')
RegisterUnitEvent(10954, 3, 'mob10954_Kill')
RegisterUnitEvent(10954, 4, 'mob10954_Die')
